#include "gen_reader.h"
#include "area_reader.h"
#include "region_reader.h"

void main()

{

	//gen_reader gen_grd("C:\\Project\\GV25Buses\\Case 2002\\HourlyGenerator_2002.bin", "C:\\Project\\GV25Buses\\Case 2002\\SummaryGenerator_2002.bin", "C:\\Project\\GV25Buses\\Case 2002\\GV Case Template.mdb");
	gen_reader gen_grd("C:\\Project\\GV25Buses\\Case 2002\\HourlyGenerator_2002.bin", "C:\\Project\\GV25Buses\\Case 2002\\SummaryGenerator_2002.bin", "C:\\Project\\GV25Buses\\Case 2002\\GV Case Template.mdb");
	region_reader region_grd("C:\\Project\\GV25Buses\\Case 2002\\HourlyGenerator_2002.bin", "C:\\Project\\GV25Buses\\Case 2002\\SummaryGenerator_2002.bin", "C:\\Project\\GV25Buses\\Case 2002\\GV Case Template.mdb");
	
	//area_grd.get_gen_var("COAL-A  5", "Generation (MWh)", 1);
	//grd.get_gen_var('COAL-A  5', 'Marginal Unit', 1);
	//cout<<grd.num_ancs<<endl;
	//float em = grd.get_gen_var("COAL-B  1", "SO2 Amount", 1);
	//float rdsa = grd.get_gen_var("COAL-B  1", "Regulation Down AS Served Amount", 1);
	//float rdp = grd.get_gen_var("COAL-B  1", "Regulation Down AS Price", 1);
	//float* val = grd.getAllHourlyVal("COAL-B  1", 1);
	//gen_yearly_data data = grd.get_gen_yearly_data("BIGCOAL 1");
	//cout<<&val<<endl;
	/*
	for (int i=0; i<grd.num_vars; i++)
	{
		printf("%f\n", val[i]);
	}
	*/
}